#ifndef ENROLLWINDOW_H
#define ENROLLWINDOW_H

#include <QJsonDocument>
#include <QJsonObject>
#include <QLineEdit>
#include <QMainWindow>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QPushButton>
#include <QWidget>

namespace Ui {
class EnrollWindow;
}

class EnrollWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit EnrollWindow(QWidget *parent = nullptr);
    ~EnrollWindow();

private slots:
    void on_toLogButton_clicked();
    void onRequestFinished(); // 网络请求完成后的处理函数
    void on_ErollButton_clicked();

private:
    Ui::EnrollWindow *ui;
    QNetworkAccessManager *manager; // 网络访问管理器
};

#endif // ENROLLWINDOW_H
